//
// Created by nicemoe on 2021/8/18.
//

#ifndef BASE_STRINGBAD_H
#define BASE_STRINGBAD_H

#include <iostream>

class StringBad {

private:
    char *str;
    int len;
    static int num_strings;
public:
    StringBad(const char *s);

    StringBad();

    ~StringBad();

    StringBad &operator=(const StringBad &);

    friend std::ostream &operator<<(std::ostream &os, const StringBad &st);

};


#endif //BASE_STRINGBAD_H
